package com.gege.service;

import com.gege.model.Order;

import java.util.List;

/**
 * @author gechenpeng
 * @date 2021-05-22
 */
public interface OrderService {

    Order saveOrder(Order order);

    Order findOrderById(Long id);

    List<Order> findByUserId(Long userId);

    void updateOrderStatusByUserId(Long userId);

    void removeByUserId(Long userId);
}
